<template>
	<ma-body height="100%">
		<ma-header type="0" slot="header" title="233"></ma-header>
		<ma-refresh slot="content" :refresh="false" :safeBottom="false">
			tab-index
			<div v-for="item in 5" style="height: 150px;width: 150px;background-color: blue;margin-bottom: 10px;"></div>
		</ma-refresh>
	</ma-body>
</template>

<script>
	export default {
		data(){
			return {
				
			}
		},
		methods: {

		},
		mounted(){
			console.log('onLoad')
			//vue组件实现小程序页面onShow生命周期
			uni.$on('onShow0',() => {
				console.log('触发组件onShow')
			})
		}
	}
</script>

<style lang="scss" scoped>

</style>
